Interface UpdateCollectorRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ContinuumRequest.Builder,CopyableBuilder<UpdateCollectorRequest.Builder,,UpdateCollectorRequest> SdkBuilder<UpdateCollectorRequest.Builder,,UpdateCollectorRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateCollectorRequest
-
Method Summary
Modifier and TypeMethodDescriptioncollectorId(String collectorId) The unique identifier of the Collector to update.default UpdateCollectorRequest.BuilderkubernetesClusterRole(Consumer<KubernetesClusterRoleUpdate.Builder> kubernetesClusterRole) Atomic update to the IAM role configuration used to collect Kubernetes cluster metadata.kubernetesClusterRole(KubernetesClusterRoleUpdate kubernetesClusterRole) Atomic update to the IAM role configuration used to collect Kubernetes cluster metadata.The new customer-visible name.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.continuum.model.ContinuumRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
collectorId
The unique identifier of the Collector to update.
- Parameters:
collectorId- The unique identifier of the Collector to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The new customer-visible name.
- Parameters:
name- The new customer-visible name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kubernetesClusterRole
UpdateCollectorRequest.Builder kubernetesClusterRole(KubernetesClusterRoleUpdate kubernetesClusterRole) Atomic update to the IAM role configuration used to collect Kubernetes cluster metadata. The set variant requires a complete configuration; the authenticated caller must be allowed to pass its exact roleArn to Continuum. The remove variant clears both the role and external ID.
- Parameters:
kubernetesClusterRole- Atomic update to the IAM role configuration used to collect Kubernetes cluster metadata. The set variant requires a complete configuration; the authenticated caller must be allowed to pass its exact roleArn to Continuum. The remove variant clears both the role and external ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kubernetesClusterRole
default UpdateCollectorRequest.Builder kubernetesClusterRole(Consumer<KubernetesClusterRoleUpdate.Builder> kubernetesClusterRole) Atomic update to the IAM role configuration used to collect Kubernetes cluster metadata. The set variant requires a complete configuration; the authenticated caller must be allowed to pass its exact roleArn to Continuum. The remove variant clears both the role and external ID.
This is a convenience method that creates an instance of theKubernetesClusterRoleUpdate.Builderavoiding the need to create one manually viaKubernetesClusterRoleUpdate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokubernetesClusterRole(KubernetesClusterRoleUpdate).- Parameters:
kubernetesClusterRole- a consumer that will call methods onKubernetesClusterRoleUpdate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateCollectorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateCollectorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-