Class ExternalLocation
- java.lang.Object
-
- software.amazon.awssdk.services.m2.model.ExternalLocation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ExternalLocation.Builder,ExternalLocation>
@Generated("software.amazon.awssdk:codegen") public final class ExternalLocation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ExternalLocation.Builder,ExternalLocation>
Defines an external storage location.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceExternalLocation.Builderstatic classExternalLocation.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExternalLocation.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static ExternalLocationfromS3Location(String s3Location)Create an instance of this class withs3Location()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Strings3Location()The URI of the Amazon S3 bucket.List<SdkField<?>>sdkFields()static Class<? extends ExternalLocation.Builder>serializableBuilderClass()ExternalLocation.BuildertoBuilder()StringtoString()Returns a string representation of this object.ExternalLocation.Typetype()Retrieve an enum value representing which member of this object is populated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
s3Location
public final String s3Location()
The URI of the Amazon S3 bucket.
- Returns:
- The URI of the Amazon S3 bucket.
-
toBuilder
public ExternalLocation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ExternalLocation.Builder,ExternalLocation>
-
builder
public static ExternalLocation.Builder builder()
-
serializableBuilderClass
public static Class<? extends ExternalLocation.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
fromS3Location
public static ExternalLocation fromS3Location(String s3Location)
Create an instance of this class withs3Location()initialized to the given value.The URI of the Amazon S3 bucket.
- Parameters:
s3Location- The URI of the Amazon S3 bucket.
-
type
public ExternalLocation.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beExternalLocation.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beExternalLocation.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-