Class S3Location
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<S3Location.Builder,S3Location>
The location in Amazon S3 where build or script files are stored for access by Amazon GameLift Servers.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringbucket()An Amazon S3 bucket identifier.static S3Location.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringkey()The name of the zip file that contains the build files or script files.final StringThe version of the file, if object versioning is turned on for the bucket.final StringroleArn()The Amazon Resource Name (ARN) for an IAM role that allows Amazon GameLift Servers to access the S3 bucket.static Class<? extends S3Location.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
bucket
An Amazon S3 bucket identifier. Thename of the S3 bucket.
Amazon GameLift Servers doesn't support uploading from Amazon S3 buckets with names that contain a dot (.).
- Returns:
- An Amazon S3 bucket identifier. Thename of the S3 bucket.
Amazon GameLift Servers doesn't support uploading from Amazon S3 buckets with names that contain a dot (.).
-
key
The name of the zip file that contains the build files or script files.
- Returns:
- The name of the zip file that contains the build files or script files.
-
roleArn
-
objectVersion
The version of the file, if object versioning is turned on for the bucket. Amazon GameLift Servers uses this information when retrieving files from an S3 bucket that you own. Use this parameter to specify a specific version of the file. If not set, the latest version of the file is retrieved.
- Returns:
- The version of the file, if object versioning is turned on for the bucket. Amazon GameLift Servers uses this information when retrieving files from an S3 bucket that you own. Use this parameter to specify a specific version of the file. If not set, the latest version of the file is retrieved.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<S3Location.Builder,S3Location> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-