Interface ListMobileDeviceAccessRulesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListMobileDeviceAccessRulesResponse.Builder,ListMobileDeviceAccessRulesResponse>,SdkBuilder<ListMobileDeviceAccessRulesResponse.Builder,ListMobileDeviceAccessRulesResponse>,SdkPojo,SdkResponse.Builder,WorkMailResponse.Builder
- Enclosing class:
- ListMobileDeviceAccessRulesResponse
public static interface ListMobileDeviceAccessRulesResponse.Builder extends WorkMailResponse.Builder, SdkPojo, CopyableBuilder<ListMobileDeviceAccessRulesResponse.Builder,ListMobileDeviceAccessRulesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListMobileDeviceAccessRulesResponse.Builderrules(Collection<MobileDeviceAccessRule> rules)The list of mobile device access rules that exist under the specified WorkMail organization.ListMobileDeviceAccessRulesResponse.Builderrules(Consumer<MobileDeviceAccessRule.Builder>... rules)The list of mobile device access rules that exist under the specified WorkMail organization.ListMobileDeviceAccessRulesResponse.Builderrules(MobileDeviceAccessRule... rules)The list of mobile device access rules that exist under the specified WorkMail organization.-
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.workmail.model.WorkMailResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
rules
ListMobileDeviceAccessRulesResponse.Builder rules(Collection<MobileDeviceAccessRule> rules)
The list of mobile device access rules that exist under the specified WorkMail organization.
- Parameters:
rules- The list of mobile device access rules that exist under the specified WorkMail organization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
ListMobileDeviceAccessRulesResponse.Builder rules(MobileDeviceAccessRule... rules)
The list of mobile device access rules that exist under the specified WorkMail organization.
- Parameters:
rules- The list of mobile device access rules that exist under the specified WorkMail organization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
ListMobileDeviceAccessRulesResponse.Builder rules(Consumer<MobileDeviceAccessRule.Builder>... rules)
The list of mobile device access rules that exist under the specified WorkMail organization.
This is a convenience method that creates an instance of theMobileDeviceAccessRule.Builderavoiding the need to create one manually viaMobileDeviceAccessRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#rules(List.) - Parameters:
rules- a consumer that will call methods onMobileDeviceAccessRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#rules(java.util.Collection)
-
-