Interface CreateMembershipRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateMembershipRequest.Builder,
,CreateMembershipRequest> SdkBuilder<CreateMembershipRequest.Builder,
,CreateMembershipRequest> SdkPojo
,SdkRequest.Builder
,SecurityIrRequest.Builder
- Enclosing class:
CreateMembershipRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) coverEntireOrganization
(Boolean coverEntireOrganization) ThecoverEntireOrganization
parameter is a boolean flag that determines whether the membership should be applied to the entire Amazon Web Services Organization.incidentResponseTeam
(Collection<IncidentResponder> incidentResponseTeam) Required element used in combination with CreateMembership to add customer incident response team members and trusted partners to the membership.incidentResponseTeam
(Consumer<IncidentResponder.Builder>... incidentResponseTeam) Required element used in combination with CreateMembership to add customer incident response team members and trusted partners to the membership.incidentResponseTeam
(IncidentResponder... incidentResponseTeam) Required element used in combination with CreateMembership to add customer incident response team members and trusted partners to the membership.membershipName
(String membershipName) Required element used in combination with CreateMembership to create a name for the membership.optInFeatures
(Collection<OptInFeature> optInFeatures) Optional element to enable the monitoring and investigation opt-in features for the service.optInFeatures
(Consumer<OptInFeature.Builder>... optInFeatures) Optional element to enable the monitoring and investigation opt-in features for the service.optInFeatures
(OptInFeature... optInFeatures) Optional element to enable the monitoring and investigation 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.Optional element for customer configured tags.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
-
clientToken
The
clientToken
field is an idempotency key used to ensure that repeated attempts for a single action will be ignored by the server during retries. A caller supplied unique ID (typically a UUID) should be provided.- Parameters:
clientToken
-The
clientToken
field is an idempotency key used to ensure that repeated attempts for a single action will be ignored by the server during retries. A caller supplied unique ID (typically a UUID) should be provided.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
membershipName
Required element used in combination with CreateMembership to create a name for the membership.
- Parameters:
membershipName
- Required element used in combination with CreateMembership to create a name for the membership.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
incidentResponseTeam
CreateMembershipRequest.Builder incidentResponseTeam(Collection<IncidentResponder> incidentResponseTeam) Required element used in combination with CreateMembership to add customer incident response team members and trusted partners to the membership.
- Parameters:
incidentResponseTeam
- Required element used in combination with CreateMembership to add customer incident response team members and trusted partners to the membership.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
incidentResponseTeam
Required element used in combination with CreateMembership to add customer incident response team members and trusted partners to the membership.
- Parameters:
incidentResponseTeam
- Required element used in combination with CreateMembership to add customer incident response team members and trusted partners to the membership.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
incidentResponseTeam
CreateMembershipRequest.Builder incidentResponseTeam(Consumer<IncidentResponder.Builder>... incidentResponseTeam) Required element used in combination with CreateMembership to add customer incident response team members and trusted partners to the membership.
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 to enable the monitoring and investigation opt-in features for the service.
- Parameters:
optInFeatures
- Optional element to enable the monitoring and investigation opt-in features for the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optInFeatures
Optional element to enable the monitoring and investigation opt-in features for the service.
- Parameters:
optInFeatures
- Optional element to enable the monitoring and investigation opt-in features for the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optInFeatures
Optional element to enable the monitoring and investigation 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:
-
tags
Optional element for customer configured tags.
- Parameters:
tags
- Optional element for customer configured tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
coverEntireOrganization
The
coverEntireOrganization
parameter is a boolean flag that determines whether the membership should be applied to the entire Amazon Web Services Organization. When set to true, the membership will be created for all accounts within the organization. When set to false, the membership will only be created for specified accounts.This parameter is optional. If not specified, the default value is false.
-
If set to true: The membership will automatically include all existing and future accounts in the Amazon Web Services Organization.
-
If set to false: The membership will only apply to explicitly specified accounts.
- Parameters:
coverEntireOrganization
- ThecoverEntireOrganization
parameter is a boolean flag that determines whether the membership should be applied to the entire Amazon Web Services Organization. When set to true, the membership will be created for all accounts within the organization. When set to false, the membership will only be created for specified accounts.This parameter is optional. If not specified, the default value is false.
-
If set to true: The membership will automatically include all existing and future accounts in the Amazon Web Services Organization.
-
If set to false: The membership will only apply to explicitly specified accounts.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
overrideConfiguration
CreateMembershipRequest.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
CreateMembershipRequest.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.
-