java.lang.Object
software.amazon.awssdk.services.bedrockagentcore.model.S3Location
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<S3Location.Builder,S3Location>

@Generated("software.amazon.awssdk:codegen") public final class S3Location extends Object implements SdkPojo, Serializable, ToCopyableBuilder<S3Location.Builder,S3Location>

The Amazon S3 location configuration of a resource.

See Also:
  • Method Details

    • bucket

      public final String bucket()

      The name of the Amazon S3 bucket where the resource is stored.

      Returns:
      The name of the Amazon S3 bucket where the resource is stored.
    • prefix

      public final String prefix()

      The name of the Amazon S3 prefix/key where the resource is stored.

      Returns:
      The name of the Amazon S3 prefix/key where the resource is stored.
    • versionId

      public final String versionId()

      The name of the Amazon S3 version ID where the resource is stored (Optional).

      Returns:
      The name of the Amazon S3 version ID where the resource is stored (Optional).
    • toBuilder

      public S3Location.Builder toBuilder()
      Specified by:
      toBuilder in interface ToCopyableBuilder<S3Location.Builder,S3Location>
    • builder

      public static S3Location.Builder builder()
    • serializableBuilderClass

      public static Class<? extends S3Location.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo