Interface KubernetesClusterRoleUpdate.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<KubernetesClusterRoleUpdate.Builder,,KubernetesClusterRoleUpdate> SdkBuilder<KubernetesClusterRoleUpdate.Builder,,KubernetesClusterRoleUpdate> SdkPojo
- Enclosing class:
KubernetesClusterRoleUpdate
@Mutable
@NotThreadSafe
public static interface KubernetesClusterRoleUpdate.Builder
extends SdkPojo, CopyableBuilder<KubernetesClusterRoleUpdate.Builder,KubernetesClusterRoleUpdate>
-
Method Summary
Modifier and TypeMethodDescriptionRemove the configured role and external ID.remove(RemoveKubernetesClusterRole remove) Remove the configured role and external ID.Replace the complete role configuration.Replace the complete role configuration.Methods 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
-
set
Replace the complete role configuration.
- Parameters:
set- Replace the complete role configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
set
default KubernetesClusterRoleUpdate.Builder set(Consumer<KubernetesClusterRoleConfiguration.Builder> set) Replace the complete role configuration.
This is a convenience method that creates an instance of theKubernetesClusterRoleConfiguration.Builderavoiding the need to create one manually viaKubernetesClusterRoleConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toset(KubernetesClusterRoleConfiguration).- Parameters:
set- a consumer that will call methods onKubernetesClusterRoleConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
remove
Remove the configured role and external ID.
- Parameters:
remove- Remove the configured role and external ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remove
default KubernetesClusterRoleUpdate.Builder remove(Consumer<RemoveKubernetesClusterRole.Builder> remove) Remove the configured role and external ID.
This is a convenience method that creates an instance of theRemoveKubernetesClusterRole.Builderavoiding the need to create one manually viaRemoveKubernetesClusterRole.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toremove(RemoveKubernetesClusterRole).- Parameters:
remove- a consumer that will call methods onRemoveKubernetesClusterRole.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-