Class CopyImageRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.appstream.model.AppStreamRequest
-
- software.amazon.awssdk.services.appstream.model.CopyImageRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CopyImageRequest.Builder,CopyImageRequest>
@Generated("software.amazon.awssdk:codegen") public final class CopyImageRequest extends AppStreamRequest implements ToCopyableBuilder<CopyImageRequest.Builder,CopyImageRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCopyImageRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CopyImageRequest.Builderbuilder()StringdestinationImageDescription()The description that the image will have when it is copied to the destination.StringdestinationImageName()The name that the image will have when it is copied to the destination.StringdestinationRegion()The destination region to which the image will be copied.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CopyImageRequest.Builder>serializableBuilderClass()StringsourceImageName()The name of the image to copy.CopyImageRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
sourceImageName
public final String sourceImageName()
The name of the image to copy.
- Returns:
- The name of the image to copy.
-
destinationImageName
public final String destinationImageName()
The name that the image will have when it is copied to the destination.
- Returns:
- The name that the image will have when it is copied to the destination.
-
destinationRegion
public final String destinationRegion()
The destination region to which the image will be copied. This parameter is required, even if you are copying an image within the same region.
- Returns:
- The destination region to which the image will be copied. This parameter is required, even if you are copying an image within the same region.
-
destinationImageDescription
public final String destinationImageDescription()
The description that the image will have when it is copied to the destination.
- Returns:
- The description that the image will have when it is copied to the destination.
-
toBuilder
public CopyImageRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CopyImageRequest.Builder,CopyImageRequest>- Specified by:
toBuilderin classAppStreamRequest
-
builder
public static CopyImageRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CopyImageRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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 classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-