Interface GetSubscriptionDefinitionVersionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetSubscriptionDefinitionVersionResponse.Builder,GetSubscriptionDefinitionVersionResponse>,GreengrassResponse.Builder,SdkBuilder<GetSubscriptionDefinitionVersionResponse.Builder,GetSubscriptionDefinitionVersionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetSubscriptionDefinitionVersionResponse
public static interface GetSubscriptionDefinitionVersionResponse.Builder extends GreengrassResponse.Builder, SdkPojo, CopyableBuilder<GetSubscriptionDefinitionVersionResponse.Builder,GetSubscriptionDefinitionVersionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetSubscriptionDefinitionVersionResponse.Builderarn(String arn)The ARN of the subscription definition version.GetSubscriptionDefinitionVersionResponse.BuildercreationTimestamp(String creationTimestamp)The time, in milliseconds since the epoch, when the subscription definition version was created.default GetSubscriptionDefinitionVersionResponse.Builderdefinition(Consumer<SubscriptionDefinitionVersion.Builder> definition)Information about the subscription definition version.GetSubscriptionDefinitionVersionResponse.Builderdefinition(SubscriptionDefinitionVersion definition)Information about the subscription definition version.GetSubscriptionDefinitionVersionResponse.Builderid(String id)The ID of the subscription definition version.GetSubscriptionDefinitionVersionResponse.BuildernextToken(String nextToken)The token for the next set of results, or ''null'' if there are no additional results.GetSubscriptionDefinitionVersionResponse.Builderversion(String version)The version of the subscription definition version.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.greengrass.model.GreengrassResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
arn
GetSubscriptionDefinitionVersionResponse.Builder arn(String arn)
The ARN of the subscription definition version.- Parameters:
arn- The ARN of the subscription definition version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTimestamp
GetSubscriptionDefinitionVersionResponse.Builder creationTimestamp(String creationTimestamp)
The time, in milliseconds since the epoch, when the subscription definition version was created.- Parameters:
creationTimestamp- The time, in milliseconds since the epoch, when the subscription definition version was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
GetSubscriptionDefinitionVersionResponse.Builder definition(SubscriptionDefinitionVersion definition)
Information about the subscription definition version.- Parameters:
definition- Information about the subscription definition version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
default GetSubscriptionDefinitionVersionResponse.Builder definition(Consumer<SubscriptionDefinitionVersion.Builder> definition)
Information about the subscription definition version. This is a convenience method that creates an instance of theSubscriptionDefinitionVersion.Builderavoiding the need to create one manually viaSubscriptionDefinitionVersion.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefinition(SubscriptionDefinitionVersion).- Parameters:
definition- a consumer that will call methods onSubscriptionDefinitionVersion.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
definition(SubscriptionDefinitionVersion)
-
id
GetSubscriptionDefinitionVersionResponse.Builder id(String id)
The ID of the subscription definition version.- Parameters:
id- The ID of the subscription definition version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
GetSubscriptionDefinitionVersionResponse.Builder nextToken(String nextToken)
The token for the next set of results, or ''null'' if there are no additional results.- Parameters:
nextToken- The token for the next set of results, or ''null'' if there are no additional results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
GetSubscriptionDefinitionVersionResponse.Builder version(String version)
The version of the subscription definition version.- Parameters:
version- The version of the subscription definition version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-