public void setSpeaker(Speaker speaker) {
        this.speaker = speaker;
    }
<p>
Details about the opted-out speaker.
</p>

@param speaker
       Details about the opted-out speaker.
aws-java-sdk-voiceid/src/main/java/com/amazonaws/services/voiceid/model/OptOutSpeakerResult.java