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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal String
bucket()
An Amazon S3 bucket identifier.static S3Location.Builder
builder()
final boolean
final boolean
equalsBySdkFields
(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 int
hashCode()
final String
key()
The name of the zip file that contains the build files or script files.final String
The version of the file, if object versioning is turned on for the bucket.final String
roleArn()
The Amazon Resource Name (ARN) for an IAM role that allows Amazon GameLift 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 String
toString()
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 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 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
The Amazon Resource Name (ARN) for an IAM role that allows Amazon GameLift to access the S3 bucket.
- Returns:
- The Amazon Resource Name (ARN) for an IAM role that allows Amazon GameLift to access the S3 bucket.
-
objectVersion
The version of the file, if object versioning is turned on for the bucket. Amazon GameLift 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 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:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<S3Location.Builder,
S3Location> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-