Class GetComponentVersionArtifactRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.greengrassv2.model.GreengrassV2Request
-
- software.amazon.awssdk.services.greengrassv2.model.GetComponentVersionArtifactRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetComponentVersionArtifactRequest.Builder,GetComponentVersionArtifactRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetComponentVersionArtifactRequest extends GreengrassV2Request implements ToCopyableBuilder<GetComponentVersionArtifactRequest.Builder,GetComponentVersionArtifactRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetComponentVersionArtifactRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The ARN of the component version.StringartifactName()The name of the artifact.static GetComponentVersionArtifactRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IotEndpointTypeiotEndpointType()Determines if the Amazon S3 URL returned is a FIPS pre-signed URL endpoint.StringiotEndpointTypeAsString()Determines if the Amazon S3 URL returned is a FIPS pre-signed URL endpoint.S3EndpointTypes3EndpointType()Specifies the endpoint to use when getting Amazon S3 pre-signed URLs.Strings3EndpointTypeAsString()Specifies the endpoint to use when getting Amazon S3 pre-signed URLs.List<SdkField<?>>sdkFields()static Class<? extends GetComponentVersionArtifactRequest.Builder>serializableBuilderClass()GetComponentVersionArtifactRequest.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
-
arn
public final String arn()
The ARN of the component version. Specify the ARN of a public or a Lambda component version.
- Returns:
- The ARN of the component version. Specify the ARN of a public or a Lambda component version.
-
artifactName
public final String artifactName()
The name of the artifact.
You can use the GetComponent operation to download the component recipe, which includes the URI of the artifact. The artifact name is the section of the URI after the scheme. For example, in the artifact URI
greengrass:SomeArtifact.zip, the artifact name isSomeArtifact.zip.- Returns:
- The name of the artifact.
You can use the GetComponent operation to download the component recipe, which includes the URI of the artifact. The artifact name is the section of the URI after the scheme. For example, in the artifact URI
greengrass:SomeArtifact.zip, the artifact name isSomeArtifact.zip.
-
s3EndpointType
public final S3EndpointType s3EndpointType()
Specifies the endpoint to use when getting Amazon S3 pre-signed URLs.
All Amazon Web Services Regions except US East (N. Virginia) use
REGIONALin all cases. In the US East (N. Virginia) Region the default isGLOBAL, but you can change it toREGIONALwith this parameter.If the service returns an enum value that is not available in the current SDK version,
s3EndpointTypewill returnS3EndpointType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available froms3EndpointTypeAsString().- Returns:
- Specifies the endpoint to use when getting Amazon S3 pre-signed URLs.
All Amazon Web Services Regions except US East (N. Virginia) use
REGIONALin all cases. In the US East (N. Virginia) Region the default isGLOBAL, but you can change it toREGIONALwith this parameter. - See Also:
S3EndpointType
-
s3EndpointTypeAsString
public final String s3EndpointTypeAsString()
Specifies the endpoint to use when getting Amazon S3 pre-signed URLs.
All Amazon Web Services Regions except US East (N. Virginia) use
REGIONALin all cases. In the US East (N. Virginia) Region the default isGLOBAL, but you can change it toREGIONALwith this parameter.If the service returns an enum value that is not available in the current SDK version,
s3EndpointTypewill returnS3EndpointType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available froms3EndpointTypeAsString().- Returns:
- Specifies the endpoint to use when getting Amazon S3 pre-signed URLs.
All Amazon Web Services Regions except US East (N. Virginia) use
REGIONALin all cases. In the US East (N. Virginia) Region the default isGLOBAL, but you can change it toREGIONALwith this parameter. - See Also:
S3EndpointType
-
iotEndpointType
public final IotEndpointType iotEndpointType()
Determines if the Amazon S3 URL returned is a FIPS pre-signed URL endpoint. Specify
fipsif you want the returned Amazon S3 pre-signed URL to point to an Amazon S3 FIPS endpoint. If you don't specify a value, the default isstandard.If the service returns an enum value that is not available in the current SDK version,
iotEndpointTypewill returnIotEndpointType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromiotEndpointTypeAsString().- Returns:
- Determines if the Amazon S3 URL returned is a FIPS pre-signed URL endpoint. Specify
fipsif you want the returned Amazon S3 pre-signed URL to point to an Amazon S3 FIPS endpoint. If you don't specify a value, the default isstandard. - See Also:
IotEndpointType
-
iotEndpointTypeAsString
public final String iotEndpointTypeAsString()
Determines if the Amazon S3 URL returned is a FIPS pre-signed URL endpoint. Specify
fipsif you want the returned Amazon S3 pre-signed URL to point to an Amazon S3 FIPS endpoint. If you don't specify a value, the default isstandard.If the service returns an enum value that is not available in the current SDK version,
iotEndpointTypewill returnIotEndpointType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromiotEndpointTypeAsString().- Returns:
- Determines if the Amazon S3 URL returned is a FIPS pre-signed URL endpoint. Specify
fipsif you want the returned Amazon S3 pre-signed URL to point to an Amazon S3 FIPS endpoint. If you don't specify a value, the default isstandard. - See Also:
IotEndpointType
-
toBuilder
public GetComponentVersionArtifactRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetComponentVersionArtifactRequest.Builder,GetComponentVersionArtifactRequest>- Specified by:
toBuilderin classGreengrassV2Request
-
builder
public static GetComponentVersionArtifactRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetComponentVersionArtifactRequest.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
-
-