Class ConnectionPropertiesPatch
- java.lang.Object
-
- software.amazon.awssdk.services.datazone.model.ConnectionPropertiesPatch
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ConnectionPropertiesPatch.Builder,ConnectionPropertiesPatch>
@Generated("software.amazon.awssdk:codegen") public final class ConnectionPropertiesPatch extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ConnectionPropertiesPatch.Builder,ConnectionPropertiesPatch>
The connection properties patch.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceConnectionPropertiesPatch.Builderstatic classConnectionPropertiesPatch.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AthenaPropertiesPatchathenaProperties()The Amazon Athena properties of a connection properties patch.static ConnectionPropertiesPatch.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static ConnectionPropertiesPatchfromAthenaProperties(Consumer<AthenaPropertiesPatch.Builder> athenaProperties)Create an instance of this class withathenaProperties()initialized to the given value.static ConnectionPropertiesPatchfromAthenaProperties(AthenaPropertiesPatch athenaProperties)Create an instance of this class withathenaProperties()initialized to the given value.static ConnectionPropertiesPatchfromGlueProperties(Consumer<GluePropertiesPatch.Builder> glueProperties)Create an instance of this class withglueProperties()initialized to the given value.static ConnectionPropertiesPatchfromGlueProperties(GluePropertiesPatch glueProperties)Create an instance of this class withglueProperties()initialized to the given value.static ConnectionPropertiesPatchfromIamProperties(Consumer<IamPropertiesPatch.Builder> iamProperties)Create an instance of this class withiamProperties()initialized to the given value.static ConnectionPropertiesPatchfromIamProperties(IamPropertiesPatch iamProperties)Create an instance of this class withiamProperties()initialized to the given value.static ConnectionPropertiesPatchfromRedshiftProperties(Consumer<RedshiftPropertiesPatch.Builder> redshiftProperties)Create an instance of this class withredshiftProperties()initialized to the given value.static ConnectionPropertiesPatchfromRedshiftProperties(RedshiftPropertiesPatch redshiftProperties)Create an instance of this class withredshiftProperties()initialized to the given value.static ConnectionPropertiesPatchfromSparkEmrProperties(Consumer<SparkEmrPropertiesPatch.Builder> sparkEmrProperties)Create an instance of this class withsparkEmrProperties()initialized to the given value.static ConnectionPropertiesPatchfromSparkEmrProperties(SparkEmrPropertiesPatch sparkEmrProperties)Create an instance of this class withsparkEmrProperties()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)GluePropertiesPatchglueProperties()The Amazon Web Services Glue properties of a connection properties patch.inthashCode()IamPropertiesPatchiamProperties()The IAM properties of a connection properties patch.RedshiftPropertiesPatchredshiftProperties()The Amazon Redshift properties of a connection properties patch.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ConnectionPropertiesPatch.Builder>serializableBuilderClass()SparkEmrPropertiesPatchsparkEmrProperties()The Spark EMR properties of a connection properties patch.ConnectionPropertiesPatch.BuildertoBuilder()StringtoString()Returns a string representation of this object.ConnectionPropertiesPatch.Typetype()Retrieve an enum value representing which member of this object is populated.-
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
-
athenaProperties
public final AthenaPropertiesPatch athenaProperties()
The Amazon Athena properties of a connection properties patch.
- Returns:
- The Amazon Athena properties of a connection properties patch.
-
glueProperties
public final GluePropertiesPatch glueProperties()
The Amazon Web Services Glue properties of a connection properties patch.
- Returns:
- The Amazon Web Services Glue properties of a connection properties patch.
-
iamProperties
public final IamPropertiesPatch iamProperties()
The IAM properties of a connection properties patch.
- Returns:
- The IAM properties of a connection properties patch.
-
redshiftProperties
public final RedshiftPropertiesPatch redshiftProperties()
The Amazon Redshift properties of a connection properties patch.
- Returns:
- The Amazon Redshift properties of a connection properties patch.
-
sparkEmrProperties
public final SparkEmrPropertiesPatch sparkEmrProperties()
The Spark EMR properties of a connection properties patch.
- Returns:
- The Spark EMR properties of a connection properties patch.
-
toBuilder
public ConnectionPropertiesPatch.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ConnectionPropertiesPatch.Builder,ConnectionPropertiesPatch>
-
builder
public static ConnectionPropertiesPatch.Builder builder()
-
serializableBuilderClass
public static Class<? extends ConnectionPropertiesPatch.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.
-
fromAthenaProperties
public static ConnectionPropertiesPatch fromAthenaProperties(AthenaPropertiesPatch athenaProperties)
Create an instance of this class withathenaProperties()initialized to the given value.The Amazon Athena properties of a connection properties patch.
- Parameters:
athenaProperties- The Amazon Athena properties of a connection properties patch.
-
fromAthenaProperties
public static ConnectionPropertiesPatch fromAthenaProperties(Consumer<AthenaPropertiesPatch.Builder> athenaProperties)
Create an instance of this class withathenaProperties()initialized to the given value.The Amazon Athena properties of a connection properties patch.
- Parameters:
athenaProperties- The Amazon Athena properties of a connection properties patch.
-
fromGlueProperties
public static ConnectionPropertiesPatch fromGlueProperties(GluePropertiesPatch glueProperties)
Create an instance of this class withglueProperties()initialized to the given value.The Amazon Web Services Glue properties of a connection properties patch.
- Parameters:
glueProperties- The Amazon Web Services Glue properties of a connection properties patch.
-
fromGlueProperties
public static ConnectionPropertiesPatch fromGlueProperties(Consumer<GluePropertiesPatch.Builder> glueProperties)
Create an instance of this class withglueProperties()initialized to the given value.The Amazon Web Services Glue properties of a connection properties patch.
- Parameters:
glueProperties- The Amazon Web Services Glue properties of a connection properties patch.
-
fromIamProperties
public static ConnectionPropertiesPatch fromIamProperties(IamPropertiesPatch iamProperties)
Create an instance of this class withiamProperties()initialized to the given value.The IAM properties of a connection properties patch.
- Parameters:
iamProperties- The IAM properties of a connection properties patch.
-
fromIamProperties
public static ConnectionPropertiesPatch fromIamProperties(Consumer<IamPropertiesPatch.Builder> iamProperties)
Create an instance of this class withiamProperties()initialized to the given value.The IAM properties of a connection properties patch.
- Parameters:
iamProperties- The IAM properties of a connection properties patch.
-
fromRedshiftProperties
public static ConnectionPropertiesPatch fromRedshiftProperties(RedshiftPropertiesPatch redshiftProperties)
Create an instance of this class withredshiftProperties()initialized to the given value.The Amazon Redshift properties of a connection properties patch.
- Parameters:
redshiftProperties- The Amazon Redshift properties of a connection properties patch.
-
fromRedshiftProperties
public static ConnectionPropertiesPatch fromRedshiftProperties(Consumer<RedshiftPropertiesPatch.Builder> redshiftProperties)
Create an instance of this class withredshiftProperties()initialized to the given value.The Amazon Redshift properties of a connection properties patch.
- Parameters:
redshiftProperties- The Amazon Redshift properties of a connection properties patch.
-
fromSparkEmrProperties
public static ConnectionPropertiesPatch fromSparkEmrProperties(SparkEmrPropertiesPatch sparkEmrProperties)
Create an instance of this class withsparkEmrProperties()initialized to the given value.The Spark EMR properties of a connection properties patch.
- Parameters:
sparkEmrProperties- The Spark EMR properties of a connection properties patch.
-
fromSparkEmrProperties
public static ConnectionPropertiesPatch fromSparkEmrProperties(Consumer<SparkEmrPropertiesPatch.Builder> sparkEmrProperties)
Create an instance of this class withsparkEmrProperties()initialized to the given value.The Spark EMR properties of a connection properties patch.
- Parameters:
sparkEmrProperties- The Spark EMR properties of a connection properties patch.
-
type
public ConnectionPropertiesPatch.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beConnectionPropertiesPatch.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beConnectionPropertiesPatch.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-