Class IamPolicyConstraints
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.IamPolicyConstraints
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<IamPolicyConstraints.Builder,IamPolicyConstraints>
@Generated("software.amazon.awssdk:codegen") public final class IamPolicyConstraints extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IamPolicyConstraints.Builder,IamPolicyConstraints>
Use this parameter to specify a supported global condition key that is added to the IAM policy.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceIamPolicyConstraints.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IamPolicyConstraints.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends IamPolicyConstraints.Builder>serializableBuilderClass()EnabledOrDisabledsourceIp()WhenSourceIpisEnabledthe worker's IP address when a task is rendered in the worker portal is added to the IAM policy as aConditionused to generate the Amazon S3 presigned URL.StringsourceIpAsString()WhenSourceIpisEnabledthe worker's IP address when a task is rendered in the worker portal is added to the IAM policy as aConditionused to generate the Amazon S3 presigned URL.IamPolicyConstraints.BuildertoBuilder()StringtoString()Returns a string representation of this object.EnabledOrDisabledvpcSourceIp()WhenVpcSourceIpisEnabledthe worker's IP address when a task is rendered in private worker portal inside the VPC is added to the IAM policy as aConditionused to generate the Amazon S3 presigned URL.StringvpcSourceIpAsString()WhenVpcSourceIpisEnabledthe worker's IP address when a task is rendered in private worker portal inside the VPC is added to the IAM policy as aConditionused to generate the Amazon S3 presigned URL.-
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
-
sourceIp
public final EnabledOrDisabled sourceIp()
When
SourceIpisEnabledthe worker's IP address when a task is rendered in the worker portal is added to the IAM policy as aConditionused to generate the Amazon S3 presigned URL. This IP address is checked by Amazon S3 and must match in order for the Amazon S3 resource to be rendered in the worker portal.If the service returns an enum value that is not available in the current SDK version,
sourceIpwill returnEnabledOrDisabled.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsourceIpAsString().- Returns:
- When
SourceIpisEnabledthe worker's IP address when a task is rendered in the worker portal is added to the IAM policy as aConditionused to generate the Amazon S3 presigned URL. This IP address is checked by Amazon S3 and must match in order for the Amazon S3 resource to be rendered in the worker portal. - See Also:
EnabledOrDisabled
-
sourceIpAsString
public final String sourceIpAsString()
When
SourceIpisEnabledthe worker's IP address when a task is rendered in the worker portal is added to the IAM policy as aConditionused to generate the Amazon S3 presigned URL. This IP address is checked by Amazon S3 and must match in order for the Amazon S3 resource to be rendered in the worker portal.If the service returns an enum value that is not available in the current SDK version,
sourceIpwill returnEnabledOrDisabled.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsourceIpAsString().- Returns:
- When
SourceIpisEnabledthe worker's IP address when a task is rendered in the worker portal is added to the IAM policy as aConditionused to generate the Amazon S3 presigned URL. This IP address is checked by Amazon S3 and must match in order for the Amazon S3 resource to be rendered in the worker portal. - See Also:
EnabledOrDisabled
-
vpcSourceIp
public final EnabledOrDisabled vpcSourceIp()
When
VpcSourceIpisEnabledthe worker's IP address when a task is rendered in private worker portal inside the VPC is added to the IAM policy as aConditionused to generate the Amazon S3 presigned URL. To render the task successfully Amazon S3 checks that the presigned URL is being accessed over an Amazon S3 VPC Endpoint, and that the worker's IP address matches the IP address in the IAM policy. To learn more about configuring private worker portal, see Use Amazon VPC mode from a private worker portal.If the service returns an enum value that is not available in the current SDK version,
vpcSourceIpwill returnEnabledOrDisabled.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvpcSourceIpAsString().- Returns:
- When
VpcSourceIpisEnabledthe worker's IP address when a task is rendered in private worker portal inside the VPC is added to the IAM policy as aConditionused to generate the Amazon S3 presigned URL. To render the task successfully Amazon S3 checks that the presigned URL is being accessed over an Amazon S3 VPC Endpoint, and that the worker's IP address matches the IP address in the IAM policy. To learn more about configuring private worker portal, see Use Amazon VPC mode from a private worker portal. - See Also:
EnabledOrDisabled
-
vpcSourceIpAsString
public final String vpcSourceIpAsString()
When
VpcSourceIpisEnabledthe worker's IP address when a task is rendered in private worker portal inside the VPC is added to the IAM policy as aConditionused to generate the Amazon S3 presigned URL. To render the task successfully Amazon S3 checks that the presigned URL is being accessed over an Amazon S3 VPC Endpoint, and that the worker's IP address matches the IP address in the IAM policy. To learn more about configuring private worker portal, see Use Amazon VPC mode from a private worker portal.If the service returns an enum value that is not available in the current SDK version,
vpcSourceIpwill returnEnabledOrDisabled.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvpcSourceIpAsString().- Returns:
- When
VpcSourceIpisEnabledthe worker's IP address when a task is rendered in private worker portal inside the VPC is added to the IAM policy as aConditionused to generate the Amazon S3 presigned URL. To render the task successfully Amazon S3 checks that the presigned URL is being accessed over an Amazon S3 VPC Endpoint, and that the worker's IP address matches the IP address in the IAM policy. To learn more about configuring private worker portal, see Use Amazon VPC mode from a private worker portal. - See Also:
EnabledOrDisabled
-
toBuilder
public IamPolicyConstraints.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<IamPolicyConstraints.Builder,IamPolicyConstraints>
-
builder
public static IamPolicyConstraints.Builder builder()
-
serializableBuilderClass
public static Class<? extends IamPolicyConstraints.Builder> serializableBuilderClass()
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-