@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateClusterRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateClusterRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateClusterRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCluster()
The name of the cluster to modify the settings for.
|
ClusterConfiguration |
getConfiguration()
The execute command configuration for the cluster.
|
ClusterServiceConnectDefaultsRequest |
getServiceConnectDefaults()
Use this parameter to set a default Service Connect namespace.
|
List<ClusterSetting> |
getSettings()
The cluster settings for your cluster.
|
int |
hashCode() |
void |
setCluster(String cluster)
The name of the cluster to modify the settings for.
|
void |
setConfiguration(ClusterConfiguration configuration)
The execute command configuration for the cluster.
|
void |
setServiceConnectDefaults(ClusterServiceConnectDefaultsRequest serviceConnectDefaults)
Use this parameter to set a default Service Connect namespace.
|
void |
setSettings(Collection<ClusterSetting> settings)
The cluster settings for your cluster.
|
String |
toString()
Returns a string representation of this object.
|
UpdateClusterRequest |
withCluster(String cluster)
The name of the cluster to modify the settings for.
|
UpdateClusterRequest |
withConfiguration(ClusterConfiguration configuration)
The execute command configuration for the cluster.
|
UpdateClusterRequest |
withServiceConnectDefaults(ClusterServiceConnectDefaultsRequest serviceConnectDefaults)
Use this parameter to set a default Service Connect namespace.
|
UpdateClusterRequest |
withSettings(ClusterSetting... settings)
The cluster settings for your cluster.
|
UpdateClusterRequest |
withSettings(Collection<ClusterSetting> settings)
The cluster settings for your cluster.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setCluster(String cluster)
The name of the cluster to modify the settings for.
cluster
- The name of the cluster to modify the settings for.public String getCluster()
The name of the cluster to modify the settings for.
public UpdateClusterRequest withCluster(String cluster)
The name of the cluster to modify the settings for.
cluster
- The name of the cluster to modify the settings for.public List<ClusterSetting> getSettings()
The cluster settings for your cluster.
public void setSettings(Collection<ClusterSetting> settings)
The cluster settings for your cluster.
settings
- The cluster settings for your cluster.public UpdateClusterRequest withSettings(ClusterSetting... settings)
The cluster settings for your cluster.
NOTE: This method appends the values to the existing list (if any). Use
setSettings(java.util.Collection)
or withSettings(java.util.Collection)
if you want to override
the existing values.
settings
- The cluster settings for your cluster.public UpdateClusterRequest withSettings(Collection<ClusterSetting> settings)
The cluster settings for your cluster.
settings
- The cluster settings for your cluster.public void setConfiguration(ClusterConfiguration configuration)
The execute command configuration for the cluster.
configuration
- The execute command configuration for the cluster.public ClusterConfiguration getConfiguration()
The execute command configuration for the cluster.
public UpdateClusterRequest withConfiguration(ClusterConfiguration configuration)
The execute command configuration for the cluster.
configuration
- The execute command configuration for the cluster.public void setServiceConnectDefaults(ClusterServiceConnectDefaultsRequest serviceConnectDefaults)
Use this parameter to set a default Service Connect namespace. After you set a default Service Connect namespace,
any new services with Service Connect turned on that are created in the cluster are added as client services in
the namespace. This setting only applies to new services that set the enabled
parameter to
true
in the ServiceConnectConfiguration
. You can set the namespace of each service
individually in the ServiceConnectConfiguration
to override this default parameter.
Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
serviceConnectDefaults
- Use this parameter to set a default Service Connect namespace. After you set a default Service Connect
namespace, any new services with Service Connect turned on that are created in the cluster are added as
client services in the namespace. This setting only applies to new services that set the
enabled
parameter to true
in the ServiceConnectConfiguration
. You
can set the namespace of each service individually in the ServiceConnectConfiguration
to
override this default parameter.
Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
public ClusterServiceConnectDefaultsRequest getServiceConnectDefaults()
Use this parameter to set a default Service Connect namespace. After you set a default Service Connect namespace,
any new services with Service Connect turned on that are created in the cluster are added as client services in
the namespace. This setting only applies to new services that set the enabled
parameter to
true
in the ServiceConnectConfiguration
. You can set the namespace of each service
individually in the ServiceConnectConfiguration
to override this default parameter.
Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
enabled
parameter to true
in the ServiceConnectConfiguration
. You
can set the namespace of each service individually in the ServiceConnectConfiguration
to
override this default parameter.
Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
public UpdateClusterRequest withServiceConnectDefaults(ClusterServiceConnectDefaultsRequest serviceConnectDefaults)
Use this parameter to set a default Service Connect namespace. After you set a default Service Connect namespace,
any new services with Service Connect turned on that are created in the cluster are added as client services in
the namespace. This setting only applies to new services that set the enabled
parameter to
true
in the ServiceConnectConfiguration
. You can set the namespace of each service
individually in the ServiceConnectConfiguration
to override this default parameter.
Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
serviceConnectDefaults
- Use this parameter to set a default Service Connect namespace. After you set a default Service Connect
namespace, any new services with Service Connect turned on that are created in the cluster are added as
client services in the namespace. This setting only applies to new services that set the
enabled
parameter to true
in the ServiceConnectConfiguration
. You
can set the namespace of each service individually in the ServiceConnectConfiguration
to
override this default parameter.
Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
public String toString()
toString
in class Object
Object.toString()
public UpdateClusterRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()