Skip to content

FileDestination

Where in OSS bucket a file asset needs to be published.

Initializer

import com.aliyun.ros.cdk.assembly.schema.FileDestination;
FileDestination.builder()
//  .region(java.lang.String)
    .bucketName(java.lang.String)
    .objectKey(java.lang.String)
    .build();

Properties

Name Type Description
region java.lang.String The region where this asset will need to be published.
bucketName java.lang.String The name of the bucket.
objectKey java.lang.String The destination object key.

regionOptional

public java.lang.String getRegion();
  • Type: java.lang.String
  • Default: Current region

The region where this asset will need to be published.


bucketNameRequired

public java.lang.String getBucketName();
  • Type: java.lang.String

The name of the bucket.


objectKeyRequired

public java.lang.String getObjectKey();
  • Type: java.lang.String

The destination object key.