Interface UpdateMembershipRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateMembershipRequest.Builder,
,UpdateMembershipRequest> SdkBuilder<UpdateMembershipRequest.Builder,
,UpdateMembershipRequest> SdkPojo
,SdkRequest.Builder
,SecurityIrRequest.Builder
- Enclosing class:
UpdateMembershipRequest
-
Method Summary
Modifier and TypeMethodDescriptionincidentResponseTeam
(Collection<IncidentResponder> incidentResponseTeam) Optional element for UpdateMembership to update the membership name.incidentResponseTeam
(Consumer<IncidentResponder.Builder>... incidentResponseTeam) Optional element for UpdateMembership to update the membership name.incidentResponseTeam
(IncidentResponder... incidentResponseTeam) Optional element for UpdateMembership to update the membership name.default UpdateMembershipRequest.Builder
membershipAccountsConfigurationsUpdate
(Consumer<MembershipAccountsConfigurationsUpdate.Builder> membershipAccountsConfigurationsUpdate) ThemembershipAccountsConfigurationsUpdate
field in theUpdateMembershipRequest
structure allows you to update the configuration settings for accounts within a membership.membershipAccountsConfigurationsUpdate
(MembershipAccountsConfigurationsUpdate membershipAccountsConfigurationsUpdate) ThemembershipAccountsConfigurationsUpdate
field in theUpdateMembershipRequest
structure allows you to update the configuration settings for accounts within a membership.membershipId
(String membershipId) Required element for UpdateMembership to identify the membership to update.membershipName
(String membershipName) Optional element for UpdateMembership to update the membership name.optInFeatures
(Collection<OptInFeature> optInFeatures) Optional element for UpdateMembership to enable or disable opt-in features for the service.optInFeatures
(Consumer<OptInFeature.Builder>... optInFeatures) Optional element for UpdateMembership to enable or disable opt-in features for the service.optInFeatures
(OptInFeature... optInFeatures) Optional element for UpdateMembership to enable or disable opt-in features for the service.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.undoMembershipCancellation
(Boolean undoMembershipCancellation) TheundoMembershipCancellation
parameter is a boolean flag that indicates whether to reverse a previously requested membership cancellation.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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.services.securityir.model.SecurityIrRequest.Builder
build
-
Method Details
-
membershipId
Required element for UpdateMembership to identify the membership to update.
- Parameters:
membershipId
- Required element for UpdateMembership to identify the membership to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
membershipName
Optional element for UpdateMembership to update the membership name.
- Parameters:
membershipName
- Optional element for UpdateMembership to update the membership name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
incidentResponseTeam
UpdateMembershipRequest.Builder incidentResponseTeam(Collection<IncidentResponder> incidentResponseTeam) Optional element for UpdateMembership to update the membership name.
- Parameters:
incidentResponseTeam
- Optional element for UpdateMembership to update the membership name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
incidentResponseTeam
Optional element for UpdateMembership to update the membership name.
- Parameters:
incidentResponseTeam
- Optional element for UpdateMembership to update the membership name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
incidentResponseTeam
UpdateMembershipRequest.Builder incidentResponseTeam(Consumer<IncidentResponder.Builder>... incidentResponseTeam) Optional element for UpdateMembership to update the membership name.
This is a convenience method that creates an instance of theIncidentResponder.Builder
avoiding the need to create one manually viaIncidentResponder.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toincidentResponseTeam(List<IncidentResponder>)
.- Parameters:
incidentResponseTeam
- a consumer that will call methods onIncidentResponder.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
optInFeatures
Optional element for UpdateMembership to enable or disable opt-in features for the service.
- Parameters:
optInFeatures
- Optional element for UpdateMembership to enable or disable opt-in features for the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optInFeatures
Optional element for UpdateMembership to enable or disable opt-in features for the service.
- Parameters:
optInFeatures
- Optional element for UpdateMembership to enable or disable opt-in features for the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optInFeatures
Optional element for UpdateMembership to enable or disable opt-in features for the service.
This is a convenience method that creates an instance of theOptInFeature.Builder
avoiding the need to create one manually viaOptInFeature.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooptInFeatures(List<OptInFeature>)
.- Parameters:
optInFeatures
- a consumer that will call methods onOptInFeature.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
membershipAccountsConfigurationsUpdate
UpdateMembershipRequest.Builder membershipAccountsConfigurationsUpdate(MembershipAccountsConfigurationsUpdate membershipAccountsConfigurationsUpdate) The
membershipAccountsConfigurationsUpdate
field in theUpdateMembershipRequest
structure allows you to update the configuration settings for accounts within a membership.This field is optional and contains a structure of type
MembershipAccountsConfigurationsUpdate
that specifies the updated account configurations for the membership.- Parameters:
membershipAccountsConfigurationsUpdate
- ThemembershipAccountsConfigurationsUpdate
field in theUpdateMembershipRequest
structure allows you to update the configuration settings for accounts within a membership.This field is optional and contains a structure of type
MembershipAccountsConfigurationsUpdate
that specifies the updated account configurations for the membership.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
membershipAccountsConfigurationsUpdate
default UpdateMembershipRequest.Builder membershipAccountsConfigurationsUpdate(Consumer<MembershipAccountsConfigurationsUpdate.Builder> membershipAccountsConfigurationsUpdate) The
membershipAccountsConfigurationsUpdate
field in theUpdateMembershipRequest
structure allows you to update the configuration settings for accounts within a membership.This field is optional and contains a structure of type
This is a convenience method that creates an instance of theMembershipAccountsConfigurationsUpdate
that specifies the updated account configurations for the membership.MembershipAccountsConfigurationsUpdate.Builder
avoiding the need to create one manually viaMembershipAccountsConfigurationsUpdate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomembershipAccountsConfigurationsUpdate(MembershipAccountsConfigurationsUpdate)
.- Parameters:
membershipAccountsConfigurationsUpdate
- a consumer that will call methods onMembershipAccountsConfigurationsUpdate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
undoMembershipCancellation
The
undoMembershipCancellation
parameter is a boolean flag that indicates whether to reverse a previously requested membership cancellation. When set to true, this will revoke the cancellation request and maintain the membership status.This parameter is optional and can be used in scenarios where you need to restore a membership that was marked for cancellation but hasn't been fully terminated yet.
-
If set to
true
, the cancellation request will be revoked -
If set to
false
the service will throw a ValidationException.
- Parameters:
undoMembershipCancellation
- TheundoMembershipCancellation
parameter is a boolean flag that indicates whether to reverse a previously requested membership cancellation. When set to true, this will revoke the cancellation request and maintain the membership status.This parameter is optional and can be used in scenarios where you need to restore a membership that was marked for cancellation but hasn't been fully terminated yet.
-
If set to
true
, the cancellation request will be revoked -
If set to
false
the service will throw a ValidationException.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
overrideConfiguration
UpdateMembershipRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateMembershipRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-