Class FlexCostAllocationPolicyAssociationDescription
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FlexCostAllocationPolicyAssociationDescription.Builder,FlexCostAllocationPolicyAssociationDescription>
Describes an association between a flex cost allocation policy and a network resource.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Method Summary
Modifier and TypeMethodDescriptionfinal InstantThe date and time when the association was created.The mode of the association.final StringThe mode of the association.builder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final InstantThe date and time when the association is expected to apply to network traffic.final StringThe ID of the policy association.final StringThe ID of the policy.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final ManagedByThe entity that manages the association.final StringThe entity that manages the association.final StringThe ID of the associated network resource.final StringThe ID of the account that owns the association.static Class<? extends FlexCostAllocationPolicyAssociationDescription.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
fcaPolicyAssociationId
The ID of the policy association.
- Returns:
- The ID of the policy association.
-
fcaPolicyId
-
networkResourceId
The ID of the associated network resource.
- Returns:
- The ID of the associated network resource.
-
ownerAccount
The ID of the account that owns the association.
- Returns:
- The ID of the account that owns the association.
-
associatedAt
The date and time when the association was created.
- Returns:
- The date and time when the association was created.
-
expectedEffectiveAt
The date and time when the association is expected to apply to network traffic.
- Returns:
- The date and time when the association is expected to apply to network traffic.
-
associationMode
The mode of the association. Valid values:
-
direct- The policy is associated with specific resources by resource ID. -
scope- The policy is associated with a scope of resources in an account, Amazon VPC, or subnet.
If the service returns an enum value that is not available in the current SDK version,
associationModewill returnFlexCostAllocationAssociationMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromassociationModeAsString().- Returns:
- The mode of the association. Valid values:
-
direct- The policy is associated with specific resources by resource ID. -
scope- The policy is associated with a scope of resources in an account, Amazon VPC, or subnet.
-
- See Also:
-
-
associationModeAsString
The mode of the association. Valid values:
-
direct- The policy is associated with specific resources by resource ID. -
scope- The policy is associated with a scope of resources in an account, Amazon VPC, or subnet.
If the service returns an enum value that is not available in the current SDK version,
associationModewill returnFlexCostAllocationAssociationMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromassociationModeAsString().- Returns:
- The mode of the association. Valid values:
-
direct- The policy is associated with specific resources by resource ID. -
scope- The policy is associated with a scope of resources in an account, Amazon VPC, or subnet.
-
- See Also:
-
-
managedBy
The entity that manages the association. Valid values are:
-
account- The account that owns the association created it. -
declarative-policy- An Amazon Web Services Organizations declarative policy created the association. You can't remove the association.
If the service returns an enum value that is not available in the current SDK version,
managedBywill returnManagedBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommanagedByAsString().- Returns:
- The entity that manages the association. Valid values are:
-
account- The account that owns the association created it. -
declarative-policy- An Amazon Web Services Organizations declarative policy created the association. You can't remove the association.
-
- See Also:
-
-
managedByAsString
The entity that manages the association. Valid values are:
-
account- The account that owns the association created it. -
declarative-policy- An Amazon Web Services Organizations declarative policy created the association. You can't remove the association.
If the service returns an enum value that is not available in the current SDK version,
managedBywill returnManagedBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommanagedByAsString().- Returns:
- The entity that manages the association. Valid values are:
-
account- The account that owns the association created it. -
declarative-policy- An Amazon Web Services Organizations declarative policy created the association. You can't remove the association.
-
- See Also:
-
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<FlexCostAllocationPolicyAssociationDescription.Builder,FlexCostAllocationPolicyAssociationDescription> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
public static Class<? extends FlexCostAllocationPolicyAssociationDescription.Builder> serializableBuilderClass() -
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-