Skip to content

ExpressSyncProps

Properties for defining a ExpressSync.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cloudstoragegateway-expresssync

Initializer

import com.aliyun.ros.cdk.cloudstoragegateway.ExpressSyncProps;
ExpressSyncProps.builder()
    .bucketName(java.lang.String)
    .bucketName(IResolvable)
    .bucketRegion(java.lang.String)
    .bucketRegion(IResolvable)
    .name(java.lang.String)
    .name(IResolvable)
//  .bucketPrefix(java.lang.String)
//  .bucketPrefix(IResolvable)
//  .description(java.lang.String)
//  .description(IResolvable)
    .build();

Properties

Name Type Description
bucketName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property bucketName: The name of the bucket.
bucketRegion java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property bucketRegion: The region of the OSS bucket.
name java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property name: The name of the express synchronization group.
bucketPrefix java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property bucketPrefix: The prefix of the OSS bucket.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property description: The description of the express synchronization group.

bucketNameRequired

public java.lang.Object getBucketName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property bucketName: The name of the bucket.

Note:

  • You can specify only one OSS bucket for a synchronization group. All data changes in the bucket are synchronized to your on-premises environment.
  • If you have not created a share for the OSS bucket, you must first create a share between the file gateway and the OSS bucket.

bucketRegionRequired

public java.lang.Object getBucketRegion();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property bucketRegion: The region of the OSS bucket.


nameRequired

public java.lang.Object getName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property name: The name of the express synchronization group.

The name must be 1 to 128 characters in length and can contain letters, Chinese characters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter or a Chinese character.


bucketPrefixOptional

public java.lang.Object getBucketPrefix();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property bucketPrefix: The prefix of the OSS bucket.


descriptionOptional

public java.lang.Object getDescription();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property description: The description of the express synchronization group.

The description can be up to 255 characters in length.