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()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.
-
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
-
-