Class PortfolioShareDetail
- java.lang.Object
-
- software.amazon.awssdk.services.servicecatalog.model.PortfolioShareDetail
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PortfolioShareDetail.Builder,PortfolioShareDetail>
@Generated("software.amazon.awssdk:codegen") public final class PortfolioShareDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PortfolioShareDetail.Builder,PortfolioShareDetail>
Information about the portfolio share.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePortfolioShareDetail.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Booleanaccepted()Indicates whether the shared portfolio is imported by the recipient account.static PortfolioShareDetail.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringprincipalId()The identifier of the recipient entity that received the portfolio share.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends PortfolioShareDetail.Builder>serializableBuilderClass()BooleansharePrincipals()Indicates ifPrincipalsharing is enabled or disabled for the portfolio share.BooleanshareTagOptions()Indicates whether TagOptions sharing is enabled or disabled for the portfolio share.PortfolioShareDetail.BuildertoBuilder()StringtoString()Returns a string representation of this object.DescribePortfolioShareTypetype()The type of the portfolio share.StringtypeAsString()The type of the portfolio share.-
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
-
principalId
public final String principalId()
The identifier of the recipient entity that received the portfolio share. The recipient entity can be one of the following:
1. An external account.
2. An organziation member account.
3. An organzational unit (OU).
4. The organization itself. (This shares with every account in the organization).
- Returns:
- The identifier of the recipient entity that received the portfolio share. The recipient entity can be one
of the following:
1. An external account.
2. An organziation member account.
3. An organzational unit (OU).
4. The organization itself. (This shares with every account in the organization).
-
type
public final DescribePortfolioShareType type()
The type of the portfolio share.
If the service returns an enum value that is not available in the current SDK version,
typewill returnDescribePortfolioShareType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the portfolio share.
- See Also:
DescribePortfolioShareType
-
typeAsString
public final String typeAsString()
The type of the portfolio share.
If the service returns an enum value that is not available in the current SDK version,
typewill returnDescribePortfolioShareType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the portfolio share.
- See Also:
DescribePortfolioShareType
-
accepted
public final Boolean accepted()
Indicates whether the shared portfolio is imported by the recipient account. If the recipient is in an organization node, the share is automatically imported, and the field is always set to true.
- Returns:
- Indicates whether the shared portfolio is imported by the recipient account. If the recipient is in an organization node, the share is automatically imported, and the field is always set to true.
-
shareTagOptions
public final Boolean shareTagOptions()
Indicates whether TagOptions sharing is enabled or disabled for the portfolio share.
- Returns:
- Indicates whether TagOptions sharing is enabled or disabled for the portfolio share.
-
sharePrincipals
public final Boolean sharePrincipals()
Indicates if
Principalsharing is enabled or disabled for the portfolio share.- Returns:
- Indicates if
Principalsharing is enabled or disabled for the portfolio share.
-
toBuilder
public PortfolioShareDetail.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PortfolioShareDetail.Builder,PortfolioShareDetail>
-
builder
public static PortfolioShareDetail.Builder builder()
-
serializableBuilderClass
public static Class<? extends PortfolioShareDetail.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
-
-