Interface DescribeClusterResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeClusterResponse.Builder,DescribeClusterResponse>,MediaLiveResponse.Builder,SdkBuilder<DescribeClusterResponse.Builder,DescribeClusterResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeClusterResponse
public static interface DescribeClusterResponse.Builder extends MediaLiveResponse.Builder, SdkPojo, CopyableBuilder<DescribeClusterResponse.Builder,DescribeClusterResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeClusterResponse.Builderarn(String arn)The ARN of this Cluster.DescribeClusterResponse.BuilderchannelIds(String... channelIds)Sets the value of the ChannelIds property for this object.DescribeClusterResponse.BuilderchannelIds(Collection<String> channelIds)Sets the value of the ChannelIds property for this object.DescribeClusterResponse.BuilderclusterType(String clusterType)The hardware type for the ClusterDescribeClusterResponse.BuilderclusterType(ClusterType clusterType)The hardware type for the ClusterDescribeClusterResponse.Builderid(String id)The ID of the Cluster.DescribeClusterResponse.BuilderinstanceRoleArn(String instanceRoleArn)The ARN of the IAM role for the Node in this Cluster.DescribeClusterResponse.Buildername(String name)The name that you specified for the Cluster.default DescribeClusterResponse.BuildernetworkSettings(Consumer<ClusterNetworkSettings.Builder> networkSettings)Network settings that connect the Nodes in the Cluster to one or more of the Networks that the Cluster is associated with.DescribeClusterResponse.BuildernetworkSettings(ClusterNetworkSettings networkSettings)Network settings that connect the Nodes in the Cluster to one or more of the Networks that the Cluster is associated with.DescribeClusterResponse.Builderstate(String state)The current state of the Cluster.DescribeClusterResponse.Builderstate(ClusterState state)The current state of the Cluster.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.medialive.model.MediaLiveResponse.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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
arn
DescribeClusterResponse.Builder arn(String arn)
The ARN of this Cluster. It is automatically assigned when the Cluster is created.- Parameters:
arn- The ARN of this Cluster. It is automatically assigned when the Cluster is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelIds
DescribeClusterResponse.Builder channelIds(Collection<String> channelIds)
Sets the value of the ChannelIds property for this object.- Parameters:
channelIds- The new value for the ChannelIds property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelIds
DescribeClusterResponse.Builder channelIds(String... channelIds)
Sets the value of the ChannelIds property for this object.- Parameters:
channelIds- The new value for the ChannelIds property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterType
DescribeClusterResponse.Builder clusterType(String clusterType)
The hardware type for the Cluster- Parameters:
clusterType- The hardware type for the Cluster- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ClusterType,ClusterType
-
clusterType
DescribeClusterResponse.Builder clusterType(ClusterType clusterType)
The hardware type for the Cluster- Parameters:
clusterType- The hardware type for the Cluster- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ClusterType,ClusterType
-
id
DescribeClusterResponse.Builder id(String id)
The ID of the Cluster. Unique in the AWS account. The ID is the resource-id portion of the ARN.- Parameters:
id- The ID of the Cluster. Unique in the AWS account. The ID is the resource-id portion of the ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceRoleArn
DescribeClusterResponse.Builder instanceRoleArn(String instanceRoleArn)
The ARN of the IAM role for the Node in this Cluster. Any Nodes that are associated with this Cluster assume this role. The role gives permissions to the operations that you expect these Node to perform.- Parameters:
instanceRoleArn- The ARN of the IAM role for the Node in this Cluster. Any Nodes that are associated with this Cluster assume this role. The role gives permissions to the operations that you expect these Node to perform.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
DescribeClusterResponse.Builder name(String name)
The name that you specified for the Cluster.- Parameters:
name- The name that you specified for the Cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkSettings
DescribeClusterResponse.Builder networkSettings(ClusterNetworkSettings networkSettings)
Network settings that connect the Nodes in the Cluster to one or more of the Networks that the Cluster is associated with.- Parameters:
networkSettings- Network settings that connect the Nodes in the Cluster to one or more of the Networks that the Cluster is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkSettings
default DescribeClusterResponse.Builder networkSettings(Consumer<ClusterNetworkSettings.Builder> networkSettings)
Network settings that connect the Nodes in the Cluster to one or more of the Networks that the Cluster is associated with. This is a convenience method that creates an instance of theClusterNetworkSettings.Builderavoiding the need to create one manually viaClusterNetworkSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonetworkSettings(ClusterNetworkSettings).- Parameters:
networkSettings- a consumer that will call methods onClusterNetworkSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
networkSettings(ClusterNetworkSettings)
-
state
DescribeClusterResponse.Builder state(String state)
The current state of the Cluster.- Parameters:
state- The current state of the Cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ClusterState,ClusterState
-
state
DescribeClusterResponse.Builder state(ClusterState state)
The current state of the Cluster.- Parameters:
state- The current state of the Cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ClusterState,ClusterState
-
-