Class AddAttachmentsToSetResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.support.model.SupportResponse
-
- software.amazon.awssdk.services.support.model.AddAttachmentsToSetResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<AddAttachmentsToSetResponse.Builder,AddAttachmentsToSetResponse>
@Generated("software.amazon.awssdk:codegen") public final class AddAttachmentsToSetResponse extends SupportResponse implements ToCopyableBuilder<AddAttachmentsToSetResponse.Builder,AddAttachmentsToSetResponse>
The ID and expiry time of the attachment set returned by the AddAttachmentsToSet operation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAddAttachmentsToSetResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringattachmentSetId()The ID of the attachment set.static AddAttachmentsToSetResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringexpiryTime()The time and date when the attachment set expires.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends AddAttachmentsToSetResponse.Builder>serializableBuilderClass()AddAttachmentsToSetResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.support.model.SupportResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
attachmentSetId
public final String attachmentSetId()
The ID of the attachment set. If an
attachmentSetIdwas not specified, a new attachment set is created, and the ID of the set is returned in the response. If anattachmentSetIdwas specified, the attachments are added to the specified set, if it exists.- Returns:
- The ID of the attachment set. If an
attachmentSetIdwas not specified, a new attachment set is created, and the ID of the set is returned in the response. If anattachmentSetIdwas specified, the attachments are added to the specified set, if it exists.
-
expiryTime
public final String expiryTime()
The time and date when the attachment set expires.
- Returns:
- The time and date when the attachment set expires.
-
toBuilder
public AddAttachmentsToSetResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AddAttachmentsToSetResponse.Builder,AddAttachmentsToSetResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static AddAttachmentsToSetResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends AddAttachmentsToSetResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-