Class PutAdminAccountRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.fms.model.FmsRequest
-
- software.amazon.awssdk.services.fms.model.PutAdminAccountRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<PutAdminAccountRequest.Builder,PutAdminAccountRequest>
@Generated("software.amazon.awssdk:codegen") public final class PutAdminAccountRequest extends FmsRequest implements ToCopyableBuilder<PutAdminAccountRequest.Builder,PutAdminAccountRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePutAdminAccountRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringadminAccount()The Amazon Web Services account ID to add as an Firewall Manager administrator account.AdminScopeadminScope()Configures the resources that the specified Firewall Manager administrator can manage.static PutAdminAccountRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends PutAdminAccountRequest.Builder>serializableBuilderClass()PutAdminAccountRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
adminAccount
public final String adminAccount()
The Amazon Web Services account ID to add as an Firewall Manager administrator account. The account must be a member of the organization that was onboarded to Firewall Manager by AssociateAdminAccount. For more information about Organizations, see Managing the Amazon Web Services Accounts in Your Organization.
- Returns:
- The Amazon Web Services account ID to add as an Firewall Manager administrator account. The account must be a member of the organization that was onboarded to Firewall Manager by AssociateAdminAccount. For more information about Organizations, see Managing the Amazon Web Services Accounts in Your Organization.
-
adminScope
public final AdminScope adminScope()
Configures the resources that the specified Firewall Manager administrator can manage. As a best practice, set the administrative scope according to the principles of least privilege. Only grant the administrator the specific resources or permissions that they need to perform the duties of their role.
- Returns:
- Configures the resources that the specified Firewall Manager administrator can manage. As a best practice, set the administrative scope according to the principles of least privilege. Only grant the administrator the specific resources or permissions that they need to perform the duties of their role.
-
toBuilder
public PutAdminAccountRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PutAdminAccountRequest.Builder,PutAdminAccountRequest>- Specified by:
toBuilderin classFmsRequest
-
builder
public static PutAdminAccountRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends PutAdminAccountRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-